#pragma once
#include <osg/Vec3d>

#include "CmdHandler3.h"

class Ent;
class UCS;
enum PickMode;
class SweepHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE SweepHandler();
	~SweepHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
	std::vector<std::shared_ptr<Ent>> m_profiles;
	std::shared_ptr<Ent> m_spine;
	UCS* m_ucs = nullptr;
	PickMode m_oldPickMode;
};
